To set a boundary, rule, or limit, especially on what one will tolerate.
I don't mind if they have some fun, but I draw the line at anything that might harm others.